﻿@{
    ViewBag.Title = "Index";
}

<h2>@Session["u"]</h2>
<a href="@Url.Action("index")">index</a>
<a onclick="f();">login</a>
<script type="text/javascript">
    function f() {
        window.open("@Url.Action("login")");
    }

    function s()
    {
        alert(1);
    }
</script>